package com.yykj.hospital.server.dto.banci.patient.client;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yykj.common.util.serializer.LocalDate2StringSerializer;
import com.yykj.common.util.serializer.LocalTime2StringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalTime;

@Data
public class AppointDayTimeInfo {

    @ApiModelProperty("预约ID")
    private Integer appointId;

    @ApiModelProperty("预约日期")
    @JsonSerialize(using = LocalDate2StringSerializer.class)
    private LocalDate day;

    @JsonSerialize(using = LocalTime2StringSerializer.class)
    @ApiModelProperty("预约开始时间")
    private LocalTime startTime;
    @JsonSerialize(using = LocalTime2StringSerializer.class)
    @ApiModelProperty("预约结束时间")
    private LocalTime endTime;
    @ApiModelProperty("级别ID")
    private Integer levelId;
    @ApiModelProperty("级别名称")
    private String levelName;
    @ApiModelProperty("剩余数量")
    private Integer remain;
    @ApiModelProperty("状态：0：无号，1：可约，2：约满")
    private Integer status;


}
